|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectamigo.AmigoDummy
public class AmigoDummy
Dummy version of the Amigo robot for testing purposes; does not require the Amigo libraries.
| Constructor Summary | |
|---|---|
AmigoDummy()
|
|
| Method Summary | |
|---|---|
void |
connect()
Connect to the external agent. |
void |
disconnect()
Disconnect from the external agent. |
RADataType |
getCameraValue()
Return a camera value (a.k.a. |
java.lang.String[] |
getSensorIDs()
Provide a list of sensor names. |
RADataType |
getSensorValue(java.lang.String sensor_id)
Return the sensor value of the sensor indicated with the id specified. |
void |
initRobot()
|
void |
initRobot(int maxSpeed)
|
void |
robotGo(double speed,
double angle)
Go somewhere. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AmigoDummy()
| Method Detail |
|---|
public void initRobot()
public void initRobot(int maxSpeed)
public void connect()
RAExternalAgentInterface
connect in interface RAExternalAgentInterfacepublic void disconnect()
RAExternalAgentInterface
disconnect in interface RAExternalAgentInterface
public void robotGo(double speed,
double angle)
RAExternalAgentInterface
robotGo in interface RAExternalAgentInterfacepublic java.lang.String[] getSensorIDs()
RAExternalAgentInterface
getSensorIDs in interface RAExternalAgentInterface
public final RADataType getSensorValue(java.lang.String sensor_id)
throws RAException
getSensorValue in interface RAExternalAgentInterfaceRAException
public RADataType getCameraValue()
throws RAException
RAException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||